//
//  PictorialWebViewViewController.m
//  SimplystylePictorial
//
//  Created by Mac on 15/7/7.
//  Copyright (c) 2015年 Hu. All rights reserved.
//

#import "PictorialWebViewViewController.h"

@interface PictorialWebViewViewController ()

@end

@implementation PictorialWebViewViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    UIWebView *webView = [[UIWebView alloc]initWithFrame:self.view.bounds];
    
    
    NSURL *requestUrl = [NSURL URLWithString:self.webUrl];
    NSURLRequest *request = [NSURLRequest requestWithURL:requestUrl];
    
    [webView loadRequest:request];
    webView.scalesPageToFit = YES ;//适应屏幕大小
    
    [self.view addSubview:webView];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
